﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <link href="Estilos/estilos.css" rel="stylesheet" type="text/css" />

</head>
<body>
    <form id="form1" runat="server">
     <table style="width:90%; text-align:center;" >
        <tr>
        <td style="width:5%"></td>
        <td style="width:15%"></td>
        <td style="width:15%"></td>
        <td style="width:15%"></td>
        <td style="width:15%"></td>
        <td style="width:20%"></td>
        <td style="width:5%"></td>
     </tr>
        <tr>
            <td class="center_title_bar2" colspan="7" align="center">
                    <asp:Label ID="Label1" runat="server" Text="List of Cell Phones" 
                    style="font-size: xx-large; color: #418BA4; font-family: Garamond; ba"></asp:Label>
           </td>
        </tr>
        <tr>
        <td></td>
           <td valign="middle" align="right">
                <asp:Label ID="lblModelo" runat="server" Text="Modelo: " CssClass="contenido"></asp:Label>
           </td>
           <td>
                <asp:DropDownList ID="cboTipo" runat="Server" Width="90%" CssClass="contenido"></asp:DropDownList>
           </td>
           <td align="right">
                <asp:Label ID="lblColor" runat="server" Text="Color: " CssClass="contenido"></asp:Label>
           </td>
           <td>
                <asp:DropDownList ID="cboColor" runat="server" Width="90%" CssClass="contenido"></asp:DropDownList>
           </td>
           <td rowspan="3">
            <asp:ImageButton ID="btnConsulta" runat="server"  
                   ImageUrl="~/Imagenes Pagina/Buscar.jpg"/>
           </td>
           <td></td>
        </tr>
        <tr>
            <td></td>
            <td align="right"> <asp:Label ID="LblPrecio" runat="server" Text="Precio: " CssClass="contenido"></asp:Label> </td>
            <td colspan="3" align="left">
                &nbsp;<asp:DropDownList ID="CboPrecio" runat="server" CssClass="contenido" Width="50%"></asp:DropDownList>
            </td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td align="right"> <asp:Label ID="lblMarca" runat="server" Text="Marca: " CssClass="Contenido" ></asp:Label> </td>
            <td> <asp:DropDownList ID="cboMarca" runat="server" Width="90%" CssClass="contenido"></asp:DropDownList> </td>
            <td align="right"> <asp:Label ID="lblFiltro" runat="server" Text="Filtro: " CssClass="contenido"></asp:Label></td>
            <td> <asp:RadioButtonList runat="server" ID="RdFiltro" RepeatDirection="Horizontal" CssClass="contenido">
                <asp:ListItem Selected="True" Value="01">Asc</asp:ListItem>
                <asp:ListItem Value="02">Desc</asp:ListItem>
                </asp:RadioButtonList> </td>
        </tr>
        <tr>
        <td colspan="7"></td>
        </tr>
        <tr>
            <td colspan="7">
                <asp:GridView ID="GridView1" runat="server" Width="100%" 
                    AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
                    GridLines="None" AllowPaging="True" PageSize="6">
                    <AlternatingRowStyle BackColor="White" ForeColor="#7DA2B1" />
                    <Columns>
                        <asp:CommandField ShowSelectButton="True" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <table style="width:100%;">
                                    <tr>
                                        <td rowspan="7">
                                            <asp:Image ID="Image3" runat="server" 
                                                ImageUrl='<%# Eval("cod_equipo","cellFotos/{0}.png") %>' />
                                        </td>
                                        <td class="style1" colspan="2">
                                            <asp:Label ID="lblMarca" runat="server" style="text-align: left; font-family: Garamond; font-size: large; font-weight: 700;" 
                                                Text='<%# Bind("name_marca") %>'></asp:Label>
                                            <br />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style2">
                                            Código del Equipo</td>
                                        <td>
                                            <asp:Label ID="lblCodigo" runat="server" Text='<%# Bind("cod_equipo") %>' 
                                                style="font-family: 'Comic Sans MS'"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style2">
                                            Modelo
                                        </td>
                                        <td>
                                            <asp:Label ID="lblModelo" runat="server" Text='<%# Bind("Equip_desc") %>' 
                                                style="font-family: 'Comic Sans MS'"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style2">
                                            Tipo</td>
                                        <td>
                                            <asp:Label ID="lblTipo" runat="server" Text='<%# Bind("tipo_equipo") %>' 
                                                style="font-family: 'Comic Sans MS'"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style2">
                                            Precio</td>
                                        <td>
                                            <asp:Label ID="lblPrecio" runat="server" Text='<%# Bind("precio") %>' 
                                                ForeColor="#CC3300" style="color: #CC3300"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" colspan="2">
                                            &nbsp;</td>
                                    </tr>
                                </table>
                               
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#7DA2B1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#7DA2B1" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
